package com.unnison.framework.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class ViewPanel extends Composite {

    public ViewPanel(View view) {
        assert view instanceof Widget: "The view '" + view.getClass().getName() + "' must be a widget";
        
        initWidget((Widget) view);
    }
}
